Fix bug #1077 with popping new frames from a minibuffer-only frame.
authorEli Zaretskii <eliz@gnu.org>
Thu, 9 Dec 2010 19:07:53 +0000 (21:07 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 9 Dec 2010 19:07:53 +0000 (21:07 +0200)
commit8647965cdd8f88f73c007d2f56d0c4d7b1b40cd5
tree3ec7dfebc569d54750cbe38d82e0d32764e53e97
parent3e59390b475aed8f5631bf1c2b76bf27dca5a60e
Fix bug #1077 with popping new frames from a minibuffer-only frame.

 menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
 New functions.
 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>: Use
 them instead of `nil' and `>', respectively.
 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
 instead of `nil'.
 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
 and menu-bar-positive-p instead of `nil' and `>', respectively.
lisp/ChangeLog
lisp/menu-bar.el